package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.FlashingEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.FlashingMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.FlashSingleFact;

public class FlashingEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<FlashingEvent, FlashSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<FlashingEvent, FlashSingleFact> 
	            getCreator( List<FlashSingleFact> dataItems) {
		return new FlashingMessageCreator(dataItems);
	}

}